import axios from 'axios'

export function request(config) {
  const instance = axios.create({
    // baseURL: 'http://192.168.43.152:8555/xiaoyi',手机流量
    baseURL: 'http://192.168.132.1:8255/xiaoyi',
    timeout: 5000,
    headers: {
      "Content-Type": "application/json;charset=utf-8"  //头部信息
    }
  })

  return instance(config)
}
